var app = angular.module('myApp',[]);
app.controller('listController',['$scope',function($scope){
    $scope.users = [
        {
        id:1,
        username:'zhangsan',
        password:'dyg123',
        nickname:'张大大',
        enable:1
        },{
            id:2,
            username:'lisi',
            password:'dyg123',
            nickname:'李四',
            enable:2
        },{
            id:3,
            username:'wangwu',
            password:'dyg123',
            nickname:'王五',
            enable:1
        },{
            id:4,
            username:'zhaoliu',
            password:'dyg123',
            nickname:'赵六',
            enable:1
        },{
            id:5,
            username:'maqi',
            password:'dyg123',
            nickname:'马奇',
            enable:2
        },{
            id:6,
            username:'niuba',
            password:'dyg123',
            nickname:'牛吧',
            enable:1
        }
    ]

}]);